package top.oauth2.sms.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @author xphu
 * @version 1.0
 * @date 2021/9/16 14:34
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class SendSmsVo {
    @NotNull(message = "参数：phone 的值不能为空！")
    String phone;
    @NotNull(message = "参数：phone 的值不能为空！")
    String code;

    String templateId;
    String type;
}
